package views;
/**
 * EDCDefaultViewer
 * Mother class for viewers in this applet
 */

import java.awt.Dimension;
import javax.swing.JFrame;
import javax.swing.JInternalFrame;

public class EDCDefaultViewer extends JInternalFrame {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public EDCDefaultViewer() {
		super();
		setSize(new Dimension(620,550));
		this.setResizable(true);
		this.setMaximizable(true);
		this.setIconifiable(true);
		setClosable(true);
		setVisible(true);
	}
	
	public EDCDefaultViewer(String name, boolean b1, boolean b2, boolean b3, boolean b4) {
		super(name);
		this.setResizable(b1);
		this.setMaximizable(b2);
		this.setIconifiable(b3);
		setClosable(b4);
		setVisible(true);
	}
}
